//
// Created by xunx on 2018/12/8.
//

#ifndef GOWILD_TEXTURE2D_H
#define GOWILD_TEXTURE2D_H

#include "Gowild.h"

class Texture2D {
public:
    Texture2D();
    void Generate(int width, int height, unsigned char* data);
    void Bind();
    unsigned int Internal_Format;
    unsigned int Image_Format;
private:
    unsigned int texture2DID;
    int Width;
    int Height;
    unsigned int Wrap_S;
    unsigned int Wrap_T;
    unsigned int Filter_Min;
    unsigned int Filter_Max;
};


#endif //GOWILD_TEXTURE2D_H
